﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>${category.name!} - ${web.name}${web.additionalTitle!}</title>
    <link href="${root}/css/global.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/layout.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/category.css" type="text/css" rel="stylesheet"/>
    <script src="${root}/js/jquery.js" type="text/javascript"></script>
    <script language="JavaScript" src="${root}/js/category.js" type="text/javascript"></script>
    <script language="JavaScript" src="${root}/js/img.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/JavaScript">
        function getTableForm() {
            return document.getElementById("tableForm");
        }
        function _gotoPage(pageNo, urlp, urls) {
            try {
                var tableForm = getTableForm();
                tableForm.action = urlp + "_" + pageNo + urls;
                tableForm.onsubmit = null;
                tableForm.submit();
            } catch (e) {
                alert('_gotoPage(pageNo)方法出错');
            }
        }

    </script>
</head>
<body>
[#include "../include/header_top.html"/]
<div id="head">
    [#include "../include/header_search.html"/]
    [#include "../include/header_nav.html"/]
</div>
[#include "../include/header_banner.html"/]
<div class="position">您现在的位置：<a href="${base!}">首页</a> » <a href="${category.url!}" class="red">${category.name!}</a>
</div>
<div class="searchwrap w980">
    [#include "classify_side.html"/]
    <div id="bodyRight" class="searchColMain fr">
        [#include "classify_search.html"/]
        <form id="tableForm" action="${category.url!}" method="get">
            [@shop_ProductPageChannel categoryId=category.id brandId=brandId names=names values=values count=pageSize
            pageNo=pageNo orderBy=orderBy]
            <div class="itemSearchResult">
                <ul>
                    [#list tag_pagination.list as product]
                    <li class="producteg">
                        <a class="product_pic" href="${product.url!}" target="_blank">
                            [#if product.productExt.coverImg??]
                            <img src="${product.productExt.coverImg!global.defImg}" title="${product.name!}" width="148"
                                 height="150"/>
                            [#else]
                            <img src="${global.defImg}" title="${product.name!}" width="160" height="160"/>
                            [/#if]
                        </a>
                        <a class="title" href="${product.url!}" target="_blank" title="${product.name!}">
                            [@text_cut s=product.name len='8' append=''/]<em></em></a>

                        <p class="price">
                            <strong>
                                [#if product.category.colorsize]
                                [#list product.fashions as fashion]
                                [#if fashion.isDefault]
                                ¥${fashion.salePrice!0}
                                [/#if]
                                [/#list]
                                [#else]
                                ¥${product.salePrice!0}
                                [/#if]
                            </strong>
                            <del>
                                [#if product.category.colorsize]
                                [#list product.fashions as fashion]
                                [#if fashion.isDefault]
                                ¥${fashion.marketPrice!0}
                                [/#if]
                                [/#list]
                                [#else]
                                ¥${product.marketPrice!0}
                                [/#if]
                            </del>
                        </p>
                        <p align="center">
                            <a class="button buy" href="${product.url}" target="_blank"> 立即购买</a>
                        </p>
                    </li>
                    [/#list]
                </ul>
            </div>
            [@pagination_style sysPage='2'/]
            [/@shop_ProductPageChannel]
            <div id="hisAssociated" style="clear:both;"></div>
        </form>
    </div>
    <div class="clear"></div>
</div>
[#include "../include/footer.html"/]
</body>
</html>